﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace SmartParking.Model
{
    public class ParkingRecord : AuditedAggregateRoot<Guid>
    {
        public ParkingRecord(Guid id)
        {
            Id = id;
        }

        public Car Car { get; set; }
        public Guid CarId { get; set; }
        public PricingPlan Plan { get; set; }
        public Guid PlanId { get; set; }
        public DateTime? LeaveTime { get; set; }
        public DateTime? PayTime { get; set; }
    }
}
